﻿using Admin.Core.Common.BaseModel;
using Admin.Core.Model.Admin;
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Admin.Core.Model.Xsproject
{
    [Table(Name = "XS_TASKHIS")]
    public class TaskHisEntity : EntityAdd, IEntitySoftDelete
    {

        [Column(Name = "REMARK")]
        public string Remark { get; set; }

        [Column(Name = "FILEPATH")]
        public string FilePath { get; set; }

        [Column(Name = "FILENAME")]
        public string FileName { get; set; }

        [Column(Name = "PROGRESS")]
        public decimal Progress { get; set; }

        [Column(Name = "ACTORID")]
        public long ActorId { get; set; }

        public UserEntity Actor { get; set; }


        [Column(Name = "TASKID")]
        public long TaskId { get; set; }
        public TaskItemEntity Task { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        [Description("是否删除")]
        [Column(Name = "ISDELETED")]//
        public bool IsDeleted { get; set; } = false;

    }
}
